\hypertarget{useful__utils_8h}{
\section{/home/ask/lcr/svn/Projetos/PhGA\_\-Project/useful/useful\_\-utils.h File Reference}
\label{useful__utils_8h}\index{/home/ask/lcr/svn/Projetos/PhGA\_\-Project/useful/useful\_\-utils.h@{/home/ask/lcr/svn/Projetos/PhGA\_\-Project/useful/useful\_\-utils.h}}
}
{\tt \#include \char`\"{}stdlib.h\char`\"{}}\par
{\tt \#include \char`\"{}stdio.h\char`\"{}}\par
{\tt \#include $<$assert.h$>$}\par


Include dependency graph for useful\_\-utils.h:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=156pt]{useful__utils_8h__incl}
\end{center}
\end{figure}


This graph shows which files directly or indirectly include this file:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=420pt]{useful__utils_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
float \hyperlink{useful__utils_8h_f113e701cf17c5cbf5cca46827378649}{xrand} (float min, float max)
\item 
void \hyperlink{useful__utils_8h_c414a1779a612b6783455662c7cd7a9c}{printMatrix} (float $\ast$$\ast$matrix, int size)
\item 
void \hyperlink{useful__utils_8h_6473b73d1b9d48986353f50fab367d7e}{printMatrix} (int $\ast$$\ast$matrix, int size)
\item 
void \hyperlink{useful__utils_8h_a61eb2de396270e096eab312dcf015bc}{printMatrix} (float $\ast$$\ast$matrix, int lines, int columns)
\item 
void \hyperlink{useful__utils_8h_c170fbb91a8394048dda4618973e876c}{printMatrix} (int $\ast$$\ast$matrix, int lines, int columns)
\item 
void \hyperlink{useful__utils_8h_b5f7944604353799107683599f230187}{printArray} (int $\ast$array, int size)
\item 
void \hyperlink{useful__utils_8h_9c9396118b4cc2634ebd94ac45b4f5cf}{printArray} (float $\ast$array, int size)
\item 
int \hyperlink{useful__utils_8h_6722787f74ce910af0f30c92d094bc73}{floor\_\-log2} (unsigned int x)
\item 
float \hyperlink{useful__utils_8h_cb87fdf9602d0b1fe129aa1c51701ac6}{fast\_\-ln} (const float \&val)
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{useful__utils_8h_cb87fdf9602d0b1fe129aa1c51701ac6}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!fast\_\-ln@{fast\_\-ln}}
\index{fast\_\-ln@{fast\_\-ln}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{fast\_\-ln}]{\setlength{\rightskip}{0pt plus 5cm}float fast\_\-ln (const float \& {\em val})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_cb87fdf9602d0b1fe129aa1c51701ac6}


\hypertarget{useful__utils_8h_6722787f74ce910af0f30c92d094bc73}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!floor\_\-log2@{floor\_\-log2}}
\index{floor\_\-log2@{floor\_\-log2}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{floor\_\-log2}]{\setlength{\rightskip}{0pt plus 5cm}int floor\_\-log2 (unsigned int {\em x})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_6722787f74ce910af0f30c92d094bc73}


\hypertarget{useful__utils_8h_9c9396118b4cc2634ebd94ac45b4f5cf}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!printArray@{printArray}}
\index{printArray@{printArray}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{printArray}]{\setlength{\rightskip}{0pt plus 5cm}void printArray (float $\ast$ {\em array}, \/  int {\em size})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_9c9396118b4cc2634ebd94ac45b4f5cf}


\hypertarget{useful__utils_8h_b5f7944604353799107683599f230187}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!printArray@{printArray}}
\index{printArray@{printArray}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{printArray}]{\setlength{\rightskip}{0pt plus 5cm}void printArray (int $\ast$ {\em array}, \/  int {\em size})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_b5f7944604353799107683599f230187}


\hypertarget{useful__utils_8h_c170fbb91a8394048dda4618973e876c}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!printMatrix@{printMatrix}}
\index{printMatrix@{printMatrix}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{printMatrix}]{\setlength{\rightskip}{0pt plus 5cm}void printMatrix (int $\ast$$\ast$ {\em matrix}, \/  int {\em lines}, \/  int {\em columns})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_c170fbb91a8394048dda4618973e876c}


\hypertarget{useful__utils_8h_a61eb2de396270e096eab312dcf015bc}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!printMatrix@{printMatrix}}
\index{printMatrix@{printMatrix}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{printMatrix}]{\setlength{\rightskip}{0pt plus 5cm}void printMatrix (float $\ast$$\ast$ {\em matrix}, \/  int {\em lines}, \/  int {\em columns})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_a61eb2de396270e096eab312dcf015bc}


\hypertarget{useful__utils_8h_6473b73d1b9d48986353f50fab367d7e}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!printMatrix@{printMatrix}}
\index{printMatrix@{printMatrix}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{printMatrix}]{\setlength{\rightskip}{0pt plus 5cm}void printMatrix (int $\ast$$\ast$ {\em matrix}, \/  int {\em size})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_6473b73d1b9d48986353f50fab367d7e}


\hypertarget{useful__utils_8h_c414a1779a612b6783455662c7cd7a9c}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!printMatrix@{printMatrix}}
\index{printMatrix@{printMatrix}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{printMatrix}]{\setlength{\rightskip}{0pt plus 5cm}void printMatrix (float $\ast$$\ast$ {\em matrix}, \/  int {\em size})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_c414a1779a612b6783455662c7cd7a9c}


\hypertarget{useful__utils_8h_f113e701cf17c5cbf5cca46827378649}{
\index{useful\_\-utils.h@{useful\_\-utils.h}!xrand@{xrand}}
\index{xrand@{xrand}!useful_utils.h@{useful\_\-utils.h}}
\subsubsection[{xrand}]{\setlength{\rightskip}{0pt plus 5cm}float xrand (float {\em min}, \/  float {\em max})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{useful__utils_8h_f113e701cf17c5cbf5cca46827378649}


